cmake_minimum_required(VERSION 3.8)
project(find_package_13)

set(CMAKE_PREFIX_PATH ${PROJECT_SOURCE_DIR})
#find_package(libX CONFIG)

#set(CMAKE_FIND_PACKAGE_SORT_ORDER NONE)
#set(CMAKE_FIND_PACKAGE_SORT_ORDER NAME)
set(CMAKE_FIND_PACKAGE_SORT_ORDER NATURAL)
#set(CMAKE_FIND_PACKAGE_SORT_DIRECTION DEC)
set(CMAKE_FIND_PACKAGE_SORT_DIRECTION ASC)
find_package(libX CONFIG)

message(STATUS "libX_FOUND = ${libX_FOUND}")
message(STATUS "libX_VERSION = ${libX_VERSION}")
